#/bin/sh

curDir=$(pwd)

echo "current path $curDir"

filelist=$(ls $curDir)

echo $filelist

for file in $filelist
do
if [ -d $file ]; 
then
	echo "this is dir $file"
else
	echo "this is file $file "
fi

done 
